﻿using System;
using System.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Globalization;
using System.Data;
using System.Collections;
using Telerik.Web.UI;
using KPIS.GERP.GHRMS.MODEL;
using KPIS.GERP.GHRMS.IBLL;
using KPIS.GERP.GHRMS.BLL;

namespace KPIS.GERP.GHRMS.APP.App_UI.UserControls
{
    public partial class MP_FieldPositions : System.Web.UI.UserControl
    {
        IFieldBLL fieldBLL = new FieldBLL();

        protected void Page_Load(object sender, EventArgs e)
        {
            LoadData();
        }

        protected void LoadData()
        {
            //int nFieldPosSeq = Int32.Parse(string.IsNullOrEmpty(Request.QueryString["field_pos_seq"].ToString()) ? null : Request.QueryString["field_pos_seq"].ToString());

            //I_HRM_MP_FieldPositions mas = new B_HRM_MP_FieldPositions();
            //DataSet ds = mas.GetFieldPositionsBySeq(nFieldPosSeq);

            //if (ds.Tables[0].Rows.Count > 0)
            //{
            //    lblSeq.Text = Request.QueryString["field_pos_seq"].ToString(); // ds.Tables[0].Rows[0]["FIELD_POS_SEQ"].ToString();
            //    lblEmpType.Text = ds.Tables[0].Rows[0]["EMP_TYPE_NAME"].ToString();
            //    lblPosType.Text = ds.Tables[0].Rows[0]["POS_TYPE_NAME"].ToString();
            //    lblFieldGroup.Text = ds.Tables[0].Rows[0]["FIELD_GROUP_DESCR"].ToString();
            //    lblClassSpec.Text = ds.Tables[0].Rows[0]["CLASS_SPEC_NAME"].ToString();
            //    lblFieldName.Text = ds.Tables[0].Rows[0]["FIELD_POS_NAME"].ToString();
            //    lblClassificationName.Text = ds.Tables[0].Rows[0]["FIELD_POS_NAME_ENG"].ToString();
            //    lblFieldLine.Text = ds.Tables[0].Rows[0]["FIELD_POS_LINE"].ToString();
            //    lblClassificationTitle.Text = ds.Tables[0].Rows[0]["FIELD_POS_LINE_ENG"].ToString();
            //    lblRemarks.Text = ds.Tables[0].Rows[0]["REMARKS"].ToString();
            //}

        }
       
    }
}